////////////////////////////////////////////////////////////////////////////
// Name: pilot.h
// Author: B. Gian James <gian@BattleDroids.net>
// Description: Pilot information
//
// $Id$
////////////////////////////////////////////////////////////////////////////

class Pilot
{
public:
	Pilot(char * n) { StringCopy(_name,n); _id = 0; _backgroundID = 0; _trainingID = 0; }
	
	uint8	ID(uint8 id = 0) { if (id) _id = id; return _id; }
	uint8	Background(uint8 id = 0) { if (id) _backgroundID = id; return _backgroundID; }
	uint8	Training(uint8 id = 0) { if (id) _trainingID = id; return _trainingID; }
	
private:
	char	_name[15];
	uint16	_id;
	uint8	_backgroundID;
	uint8	_trainingID;
};